prepare("delete from monitor where SN = $id") ; if($sql->execute()) header("location: logs.php") ; ?>